{include file="member.header.html"}
{include file="title.html"}

<div class="w320">
    <form method="POST">
        <!---------评价----------->
        <div class="comment">
            <!--{foreach from=$goods_list item=goods}-->
            <div class="goods_info comment_box">
                <img src="{$site_url}/{$goods.goods_image}" />
                <p class="title">{$goods.goods_name|escape}</p>
                <p>{$goods.specification}</p>
                <p>{$lang.quantity}:{$goods.quantity}</p>
                <p>{$lang.price}:{$goods.price|price}</p>
				<p class="clearfix"></p>
                <p>
                    <label><input type="radio" id="g{$goods.rec_id}_op1" name="evaluations[{$goods.rec_id}][evaluation]" value="3" checked/><i class="good"></i>{$lang.evaluation_good}</label>
                    <label><input type="radio" id="g{$goods.rec_id}_op2" name="evaluations[{$goods.rec_id}][evaluation]" value="2" /><i class="mid"></i>{$lang.evaluation_acceptable}</label>
                    <label><input type="radio" id="g{$goods.rec_id}_op3" name="evaluations[{$goods.rec_id}][evaluation]" value="1"/><i class="bad"></i>{$lang.evaluation_bad}</label>
                </p>
				<textarea  name="evaluations[{$goods.rec_id}][comment]" class="com_text"></textarea>
            </div>
            <!--{/foreach}-->

            <input type="submit" value="{$lang.Submit_Comment}" class="red_btn" style="width:100%" />

        </div>
    </form>
</div>
<!------底部-------->
<script>
    $(function(){
        $("img").each(function(){
            var temp_spec=$(this).attr('src');
            if(temp_spec.indexOf('/goodsspec/')>-1){
                var my_site=SITE_URL;
                $(this).attr('src',my_site.replace('/mobile','/')+temp_spec);
                $(this).css('width','24px');
                $(this).css('height','24px');
            }
        })
    })
</script>
{include file="footer.html"}